<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:replace="/navbar::header(增加排片)">
</head>
<body class="bj1">
<div class="container">
    <br><br>
    <br><br>
    <form method="POST"  style="margin-left: 25%;border-radius: 2px 2px 2px 2px;width: 600px;height: 550px;background-color: rgba(0, 0, 0, 0.1)" th:action="@{/admin/slice/save}">
        <br>
        <h5 style="margin-left: 45%;margin-top: 20px">新增排片</h5>
        <div class="form-group" style="width: 90%;margin-left: 5%">
            <select class="form-control" multiple="multiple" th:name="mName" th:type="text">
                <option th:each="movies : ${movie}"  th:text="${movies.name}" th:value="${movies.name}"></option>
            </select>
        </div>
        <br>
        <div class="form-group" style="width: 90%;margin-left: 5%">
            <select class="form-control" multiple="multiple" th:name="lId" th:type="text">
                <option th:each="locations : ${location}" th:text="${locations.LName}"   th:value="${locations.LName}"></option>
            </select>
        </div>
        <br>
        <div class="form-group" style="width: 90%;margin-left: 5%">
            <select class="form-control" multiple="multiple" th:name="cinema" th:type="text">
                <option th:each="cinema : ${cinemas}"  th:text="${cinema.CName}" th:value="${cinema.CName}"></option>
            </select>
        </div>
        <br>
        <div class="form-group" style="width: 90%;margin-left: 5%">
            <select class="form-control" multiple="multiple" th:name="site" th:type="text">
                <option th:each="site : ${sites}"  th:text="${site.EName}" th:value="${site.EName}"></option>
            </select>
        </div>
        <br>
        <br>
        <button class="btn btn-info" style="margin-left: 24%" type="submit">新建排片</button>
        <a class="btn btn-danger" style="margin-left: 25%" th:href="@{/admin/slice}">取消新建</a>
    </form>
</div>
</body>
</html>